package com.rongxue.mapper;

import com.rongxue.pojo.SUserInterestCoupon;
import com.rongxue.pojo.SUserInterestCouponExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SUserInterestCouponMapper {
    int countByExample(SUserInterestCouponExample example);

    int deleteByExample(SUserInterestCouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SUserInterestCoupon record);

    int insertSelective(SUserInterestCoupon record);

    List<SUserInterestCoupon> selectByExample(SUserInterestCouponExample example);

    SUserInterestCoupon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SUserInterestCoupon record, @Param("example") SUserInterestCouponExample example);

    int updateByExample(@Param("record") SUserInterestCoupon record, @Param("example") SUserInterestCouponExample example);

    int updateByPrimaryKeySelective(SUserInterestCoupon record);

    int updateByPrimaryKey(SUserInterestCoupon record);
    //添加融雪币加息券
    int insertRxgoldInterestCoupon(Map<String,Object> map);
}